<div id="sidebar"><div id="sidebar-inner">
	<ul>

		<li id="about-me">
			<div class="photo">
				<img src="<?php bloginfo('template_directory'); ?>/imgs/sidephoto.jpg" alt="Autumn Forest" />
				<span></span>
			</div>
		</li>

		<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : // begin sidebar widgets ?>

			<li id="search">
				<?php include (TEMPLATEPATH . '/searchform.php'); ?>
			</li>

			<li id="categories">
				<h3 class="sidebar-title"><?php _e('Categories'); ?></h3>
				<ul>
					<?php wp_list_categories('title_li=&show_count=0&depth=1&hierarchical=0') ?> 
				</ul>
			</li>

			<li id="archives">
				<h3 class="sidebar-title"><?php _e('Archives') ?></h3>
				<ul>
					<?php wp_get_archives('type=monthly') ?>
				</ul>
			</li>

			<?php if ( function_exists('wp_tag_cloud') ) : ?>
			<li id="tag_cloud">
				<h3 class="sidebar-title"><?php _e('Tag Cloud'); ?></h3>
				<div>
					<?php wp_tag_cloud('smallest=8&largest=18&number=15'); ?>
				</div>
			</li>
			<?php endif; ?>

			<li id="blogroll">
				<ul>
					<?php wp_list_bookmarks('title_before=<h3 class="sidebar-title">&title_after=</h3>&show_images=1') ?>
				</ul>
			</li>

		<?php endif; // end sidebar widgets  ?>

	</ul>
</div></div><!-- #sidebar -->